﻿using System.ComponentModel.DataAnnotations;

namespace Lanbt.Core.Entity.Dto.lanbt_user
{
    public class UpdateUserInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Required(ErrorMessage = "用户ID不能为空")]
        public string ID { get; set; }

        /// <summary>
        /// 头像地址
        /// </summary>
        public string HeadUrl { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Required(ErrorMessage = "用户名不能为空")]
        public string Name { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string? Mobile { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }
    }
}
